curl --request POST \
--url https://api.topsort.com/public/v1/invitation-service/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invites": [
{
"vendorId": "<string>",
"vendorEmail": "jsmith@example.com"
}
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Invites a collection of Vendors to the Topsort platform.
The request payload should contain an array of pairs of vendor’s ID, and email.
curl --request POST \
--url https://api.topsort.com/public/v1/invitation-service/invitations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invites": [
{
"vendorId": "<string>",
"vendorEmail": "jsmith@example.com"
}
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}A valid API key generated in Topsort's UI.
Successful Response
Was this page helpful?